fix phantom wallet failed to authenticate